<?php
/**
 * Created by JetBrains PhpStorm.
 * User: adilet
 * Date: 14.08.13
 * Time: 11:12
 * To change this template use File | Settings | File Templates.
 */?>


<div class="layout_main" style="width:718px; background-color: #ffffff;border: 1px solid rgba(0, 0, 0, 0.12);border-radius: 3px 3px 3px 3px;margin-bottom: 1.5em;padding: 1.5em;">
  <h1 style="text-align: center"><?php echo $this->translate("Cities")?></h1>
  <ul>
    <?php if (count($this->paginator) > 0) :?>

      <?php foreach($this->paginator as $city) :?>
        <li>
          <div class="" style="float: left">
            <div style="float: left">
              <?php echo $this->itemPhoto($city, 'thumb.normal', $city->title) ?>
            </div>
            <div style="float: left; width: 550px;">
              <h1 style="margin: 5px;"><?php echo $city->title ?></h1>
              <div style=""><?php echo html_entity_decode($city->description);?></div>
            </div>

          </div>
        </li>
        <div style="clear: both;"></div>
        <hr style="border: 2px solid #cccccc; margin-bottom: 10px;margin-top: 10px" />
      <?php endforeach?>
    <?php endif?>
  </ul>
</div>